package com.jpcc.vw.onlineRadio.adapter.item;

import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;

import com.jpcc.vw.onlineRadio.R;
import com.jpcc.vw.onlineRadio.model.bean.AlbumProgramTrackEntity;
import com.jpcc.vw.onlineRadio.recycle.RecyclerView.BaseItem;


public class AlbumProgramItem extends BaseItem<AlbumProgramTrackEntity> implements View.OnClickListener {

    private AlbumProgramTrackEntity result;
    private TextView tv_item_count;
    private TextView tv_content2;
    private ImageView imv_download;


    public AlbumProgramItem(ViewGroup group) {
        super(group);
    }

    @Override
    public int getRes() {
        return R.layout.adapter_album_detail_item;
    }

    @Override
    public void onCreateView(View rootView) {
        tv_item_count=(TextView)rootView.findViewById(R.id.tv_item_count);
        tv_content2=(TextView)rootView.findViewById(R.id.tv_content2);
        imv_download=(ImageView)rootView.findViewById(R.id.imv_download);
    }

    @Override
    public void onBindView(AlbumProgramTrackEntity albumDetailTrackEntity) {
        result = albumDetailTrackEntity;
    }
}
